//
//  FGViewController.m
//  FGChatKit-pod
//
//  Created by huangchangweng on 05/06/2023.
//  Copyright (c) 2023 huangchangweng. All rights reserved.
//

#import "FGViewController.h"
#import <FGChatKit/FGChatKit.h>

@interface FGViewController ()

@end

@implementation FGViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    [FGChatKit sharedKit].isTest = YES;
    
    [[FGChatKit sharedKit] start:@"d86f529db81842ce864d75d3940d5497"
                       callBlock:^(NSInteger code, NSString *msg, id data) {
        NSLog(@"FGChatKit启动%@ msg:%@", code == 200 ? @"成功" : @"失败", msg);
    }];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
